package cc.entity;

import java.io.Serializable;

/**
 * TODO
 *
 * @author My
 * @date 2021/10/11 11:41
 */
public class User implements Serializable {

    private Integer id;
    private String name;
    private String password;
    private String sex;
    private Integer no;
    private Integer classId;

    public User() {
    }

    public User(Integer id, String name, String password, String sex, Integer no, Integer classId) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.no = no;
        this.classId = classId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", no=" + no +
                ", classId=" + classId +
                '}';
    }
}

